//
//  TTJieTuoView.h
//  TaoTuo
//
//  Created by admin on 2019/8/21.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <JXCategoryView.h>
#import "TTSearchViewProtocal.h"
#import "TTScopeView.h"
#import "LLSearchTextField.h"

@class TTSearchModel;

NS_ASSUME_NONNULL_BEGIN

@interface TTJieTuoView : UIView<JXCategoryListContentViewDelegate, TTSearchViewProtocal>

@property (nonatomic, strong) LLSearchTextField *searchTF;  // 搜索框
@property (nonatomic, strong) TTScopeView *xkView; // 镶口
@property (nonatomic, strong) TTScopeView *scView; // 手寸
@property (nonatomic, strong) TTScopeView *jzView; // 金重
@property (nonatomic, strong) TTScopeView *szView; // 手镯
@property (nonatomic, strong, nullable) TTSearchModel *searchModel;

///当前选中的热门搜索的词
@property (nonatomic, copy) NSString *currentSelectHotSearchString;
@property (nonatomic, copy) void(^clickSearchBlock)(TTJieTuoView *jView, NSString *text);  // 点击搜索

@property (nonatomic, strong) NSMutableDictionary *searchNameDic;   // 搜索名称的集合
///要默认选中哪个类别
@property (nonatomic, copy) NSString *categoryName;

- (void)setXkDataArray:(NSArray *)xkArray scDataArray:(NSArray *)scArray jzDataArray:(NSArray *)jzArray szDataArray:(NSArray *)szArray hotSearchArray:(NSArray *)hotSearchArray;


@end

NS_ASSUME_NONNULL_END
